package com.ly.user_system.base;


import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PageQuery {


    @NotNull
    @Min(value = 1)
    private Integer currentPage;

    @NotNull
    @Max(value = 100)
    private Integer pageSize;



}
